import request from '@/utils/request.js'

export default {

    getIntegralGradeList() {
        return request({
            url: `/admin/core/integralGrade/list`,
            method: 'get'
        })
    },

    saveIntegralGrade(integralGrade) {
        return request({
            url: `/admin/core/integralGrade/save`,
            method: 'post',
            data: integralGrade
        })
    },

    removeById(id) {
        return request({
            url: `/admin/core/integralGrade/remove/${id}`,
            method: 'delete'
        })
    },

    getById(id) {
        return request({
            url: `/admin/core/integralGrade/getById/${id}`,
            method: 'get'
        })
    },

    updateIntegralGrade(integralGrade) {
        return request({
            url: `/admin/core/integralGrade/update`,
            method: 'put',
            data:integralGrade
        })
    },

}
